package com.letian.record.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.letian.common.annotation.Excel;
import com.letian.common.core.domain.BaseEntity;

/**
 * 记录距离对象 record_distance
 * 
 * @author bmz
 * @date 2023-01-15
 */
public class RecordDistance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编码 */
    private Long distanceId;

    /** 类型 */
    @Excel(name = "类型")
    private String distanceType;

    /** 距离 */
    @Excel(name = "距离")
    private Long distance;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 拥有者 */
    @Excel(name = "拥有者")
    private String owner;

    /** 删除标志 */
    private String delFlag;

    /** 更新次数 */
    @Excel(name = "更新次数")
    private Long updateCount;

    public void setDistanceId(Long distanceId) 
    {
        this.distanceId = distanceId;
    }

    public Long getDistanceId() 
    {
        return distanceId;
    }
    public void setDistanceType(String distanceType) 
    {
        this.distanceType = distanceType;
    }

    public String getDistanceType() 
    {
        return distanceType;
    }
    public void setDistance(Long distance) 
    {
        this.distance = distance;
    }

    public Long getDistance() 
    {
        return distance;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setOwner(String owner) 
    {
        this.owner = owner;
    }

    public String getOwner() 
    {
        return owner;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setUpdateCount(Long updateCount) 
    {
        this.updateCount = updateCount;
    }

    public Long getUpdateCount() 
    {
        return updateCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("distanceId", getDistanceId())
            .append("distanceType", getDistanceType())
            .append("distance", getDistance())
            .append("unit", getUnit())
            .append("owner", getOwner())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("updateCount", getUpdateCount())
            .append("remark", getRemark())
            .toString();
    }
}
